//
//  LoginViewController.swift
//  swfitTest
//
//  Created by hncy on 2022/7/4.
//

import UIKit

class LoginViewController: ViewController {
    override func viewDidLoad() {
        super.viewDidLoad()
         
    }
    
    @IBAction func loginClick(_ sender: Any) {
        let dic =  UserModel(name: "dzq", pwd: "123")
        UserModel.saveUser(dic)
        
       self.dismiss(animated: true)
    }
    
    @IBAction func regin(_ sender: Any) {
        
        UIUtils.pushViewController(parent: self, vc: UIUtils.getControllerFromStoryboard(name: "User", vc: "RegisterViewController"))
    }
}
